let myPlugins = {}
myPlugins.install = function (Vue, options) {
    // 2. 添加全局资源
    Vue.directive(options.name, (element, params) => {
        element.innerHTML = params.value.toUpperCase()
    })
}
export default myPlugins